package org.srishti.mobile;

import android.os.Bundle;
import android.app.Activity;
import android.content.Intent;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.TextView;

public class MainActivity extends Activity {
	TextView signUp,signIn;
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_main);
		signUp=(TextView)findViewById(R.id.activity_home_signup);
		signIn=(TextView)findViewById(R.id.activity_home_signin);
		
		signUp.setOnClickListener(new OnClickListener() {	
			public void onClick(View v) {
				startActivity(new Intent(getApplicationContext(),
						SignupActivity.class));
			}
		});
		
		signIn.setOnClickListener(new OnClickListener() {	
			public void onClick(View v) {
				startActivity(new Intent(getApplicationContext(),
						LoginActivity.class));
			}
		});
	}

	
}
